<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class HoardingTickets extends Model
{
    protected $table='customer_hoarding_tickets';
    protected $guarded=[];
    public $timestamps=false;

    /*
     * 定义囤票活动表与用户囤票表的关联关系
     * */
    public function hoarding()
    {
        return $this->hasOne('App\Models\Hoarding','id','hoarding_ticket_id');
    }
}
